home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 2003 June / macformat-130.iso / mac / Reviewed⁄Demos / Spearhead Demo / demota / pak1.pk3 / anim / grenademartyr.scr < prev    next >
Encoding:
Text File  |  2002-10-21  |  514 b   |  22 lines

  1. //------
  2. // Grenade martyr
  3. //------
  4.  
  5.  
  6.  
  7. //===================================================================================
  8. GrenadeMartyr:
  9.     //println "grenademartyr.scr"
  10.     waitexec "anim/default_inithandler.scr"
  11.     waitexec anim/smoking.scr::SmokeRemoveCigarette
  12.  
  13.     self.blendtime = 0.50
  14.     self setmotionanim diveongrenade 
  15.     self waittill flaggedanimdone
  16.  
  17.     // TODO: set the death animation handler to play the grenade death
  18.  
  19.     // this script shouldn't terminate, to keep it from looping
  20.     pause
  21. end
  22.